package com.juneng.service;

import com.juneng.entity.BookType;
import com.juneng.dto.BookTypeDto;
import com.juneng.dto.BookTypeQueryDto;
import com.juneng.vo.BookTypeChildrenVo;
import com.juneng.vo.BookTypeVo;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 *  服务类
 *
 * @author zds
 * @since 2021-07-14
 */
public interface IBookTypeService  {

        IPage<BookTypeVo> fatherPage(BookTypeQueryDto dto) ;

        List<BookType> list(BookTypeQueryDto dto) ;

        Integer save(BookTypeDto dto) ;

        Integer updateById(BookTypeDto dto) ;

        Integer deleteLogic(List<Integer> toIntList) ;

        BookType getById(Integer id) ;

        IPage<BookTypeVo> sonPage(BookTypeQueryDto dto);

        Integer saveParent(BookTypeDto dto);

        List<BookTypeChildrenVo> children();

        List<BookType> sonList(BookTypeQueryDto dto);
}
